/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.yourtrade.model;

import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotEmpty;

@Data
@NoArgsConstructor
public class LoginUser {
    
    private static final long serialVersionUID = -1974009801828997043L;
    
    @NotNull(message = "密码不能为空")
    @NotEmpty
    protected String password;
    @NotNull(message = "手机号码不能为空")
    @NotEmpty
    protected String mobile;
}
